/**
 * Wihidum - Efficient Broker Hierarchy for Publish Subscribe Middleware
 *
 * License      :   Apache License 2.0
 * Home Page    :   http://code.google.com/p/wihidum/
 * Mailing List :   wihidum@googlegroups.com
 */

package lk.mrt.cse.wihidum.storage;

/**
 * Interface to access publications in database
 */
public interface PublicationManager
{
    /**
     * Save a publication
     *
     * @param publication Publication to be saved
     * @return True if saved successfully, otherwise false
     */
    public boolean savePublication (Publication publication);

}
